package Demo1;

public class Frog extends Animer implements impo{

    public Frog(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println(this.name+"吃饭");
    }

    @Override
    public void text() {
        System.out.println(this.name+"青蛙实验");
    }

    @Override
    public void fly() {
        System.out.println(this.name+"飞");

    }

    @Override
    public void swim() {
        System.out.println(this.name+"游泳");

    }
}
